﻿<UserControl
			 xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
			 xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
			 xmlns:sm="clr-namespace:QUT.Bio.SilverMap;assembly=QUT.Bio"
			 xmlns:qututil="clr-namespace:QUT.Bio.Util;assembly=QUT.Bio"
			 xmlns:d="http://schemas.microsoft.com/expression/blend/2008" xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" mc:Ignorable="d" x:Class="SilverMap.Page"
			 >

	<UserControl.Resources>
		<LinearGradientBrush x:Key="TheBrush"
							 EndPoint="0.5,1"
							 StartPoint="0.5,0">
			<GradientStop Color="#FF484C50"
						  Offset="0" />
			<GradientStop Color="#FF424242"
						  Offset="1" />
			<GradientStop Color="#FF151515"
						  Offset="0.781" />
		</LinearGradientBrush>

		<Style x:Key="TextBlockStyle"
			   TargetType="TextBlock">
			<Setter Property="Margin"
					Value="0 0 5 0" />
		</Style>

		<Style x:Key="TextBoxStyle"
			   TargetType="TextBox">
			<Setter Property="Margin"
					Value="0 0 5 0" />
		</Style>

		<SolidColorBrush x:Key="DIM_BG_COLOR_BRUSH"
						 Color="#88eeeebb" />

		<SolidColorBrush x:Key="BG_COLOR_WHITE"
						 Color="#DAFDB7" />

		<LinearGradientBrush x:Key="BG_COLOR_GRADIENT"
							 StartPoint="0, 1"
							 EndPoint="1, 0">
			<GradientStop Color="#eeeebb"
						  Offset="0" />
			<GradientStop Color="#FFFFFFFF"
						  Offset="1" />
		</LinearGradientBrush>

		<LinearGradientBrush x:Key="BUTTON_ROW_GRADIENT"
							 StartPoint="0, 0.5"
							 EndPoint="1, 0.5">
			<GradientStop Color="#eeeebb"
						  Offset="0" />
			<GradientStop Color="#FFFFFFFF"
						  Offset="1" />
		</LinearGradientBrush>

		<LinearGradientBrush x:Key="THIN_BLUE_WHITE_BRUSH"
							 StartPoint="0.5, 0"
							 EndPoint="0.5, 1">
			<GradientStop Color="#122f53"
						  Offset="0" />
			<GradientStop Color="#FFFFFF"
						  Offset="1" />
		</LinearGradientBrush>

		<SolidColorBrush x:Key="BG_COLOR_BRUSH"
						 Color="#eeeebb" />

		<LinearGradientBrush x:Key="HORIZONTAL_SPLITTER_BRUSH"
							 StartPoint="0,0"
							 EndPoint="1,0">
			<GradientStop Color="White"
						  Offset="0" />
			<GradientStop Color="Silver"
						  Offset="0.2" />
			<GradientStop Color="Silver"
						  Offset="0.8" />
			<GradientStop Color="DarkGray"
						  Offset="1" />
		</LinearGradientBrush>

	</UserControl.Resources>

	<Grid x:Name="LayoutRoot">
		<Grid.RowDefinitions>
			<RowDefinition Height="auto" />
			<RowDefinition Height="*" />
			<RowDefinition Height="auto" />
		</Grid.RowDefinitions>

		<Grid.ColumnDefinitions>
			<ColumnDefinition Width="*" />
		</Grid.ColumnDefinitions>

		<Grid x:Name="toolBar"
			  Grid.Row="0"
			  Grid.Column="0" Height="30" Background="#FF0A3E69">

			<StackPanel x:Name="buttonPanel"
						Orientation="Horizontal" Margin="10,0,0,0" VerticalAlignment="Center">
				<qututil:Tool Label="Open (MQUTeR)" x:Name="loadFromWeb" />
			</StackPanel>
		</Grid>

		<sm:MapControl x:Name="map"
					   Grid.Row="1"
					   Grid.Column="0" />

		<qututil:PopupOverlay x:Name="overlay"
							  Grid.Row="1"
							  Grid.Column="0" />

		<qututil:StatusBar Grid.Row="2"
						   x:Name="statusBar" />
	</Grid>
</UserControl>
